<template>
	<view class="layer">
		<view class="box">
			<view class="text1">
				<slot name="text1"></slot>
			</view>
			<view class="text2">
				<view class="text2_tx">
					<slot  name="text2"></slot>
				</view>
				
			</view>
			<view class="btn_down">
				<view class="btn1">
					<slot name="btn1"></slot>
				</view>
				<view class="btn2">
					<slot name="btn2"></slot>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	 export default {

	 }
</script>

<style lang="scss" scoped>
	.layer{
		position: fixed;
		width: 100vw;
		height: 100vh;
		top: 0;
		left: 0;
		z-index: 10001;
		background: rgba(0,0,0,0.3);
		display: flex;
		justify-content: center;
		align-items: center;
		.box{
			width: 520upx;
			height: 294upx;
			background: white;
			border-radius: 8upx;
			position: relative;
			.text1{
				margin-top: 40upx;
				float: left;
				width: 100%;
				height: 32upx;
				line-height: 1;
				font-size: 32upx;
				color: #333333;
				text-align: center;
				font-weight: 500;
			}
			.text2{
				width: 100%;
				float: left;
				margin-top: 26upx;
				.text2_tx{
					margin: 0 auto;
					width: 390upx;
					font-size: 28upx;
					line-height: 36upx;
					color: #999999;
					text-align: center;
				}
			}
			.btn_down{
				position: absolute;
				left: 0;
				bottom: 0;
				width: 100%;
				height: 101upx;
				.btn1,.btn2{
					width: 50%;
					height: 100%;
					float: left;
					line-height: 101upx;
					text-align: center;
					font-size: 32upx;
				}
				.btn1{
					position: relative;
					color: #999999;
				}
				.btn1:after{
					position: absolute;
					right: 0;
					top: 0;
					height: 100%;
					width: 1upx;
					content: '';
					transform: scaleX(0.5);
					background: #E5E5E5;
				}
				.btn2{
					color: #3595f9;
				}
			}
			.btn_down:after{
				position: absolute;
				left: 0;
				top: 0;
				width: 100%;
				height: 1upx;
				content: '';
				transform: scaleY(0.5);
				background: #E5E5E5;
				
			}
		}
		
	}
</style>
